3.8.12 \(\int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx\)

Optimal. Leaf size=42 \[ -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{\sqrt {a} \sqrt {c}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {93, 208} \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{\sqrt {a} \sqrt {c}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(x*Sqrt[a + b*x]*Sqrt[c + d*x]),x]

[Out]

(-2*ArcTanh[(Sqrt[c]*Sqrt[a + b*x])/(Sqrt[a]*Sqrt[c + d*x])])/(Sqrt[a]*Sqrt[c])

Rule 93

Int[(((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_))/((e_.) + (f_.)*(x_)), x_Symbol] :> With[{q = Denomin
ator[m]}, Dist[q, Subst[Int[x^(q*(m + 1) - 1)/(b*e - a*f - (d*e - c*f)*x^q), x], x, (a + b*x)^(1/q)/(c + d*x)^
(1/q)], x]] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[m + n + 1, 0] && RationalQ[n] && LtQ[-1, m, 0] && SimplerQ[
a + b*x, c + d*x]

Rule 208

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-(a/b), 2]*ArcTanh[x/Rt[-(a/b), 2]])/a, x] /; FreeQ[{a,
b}, x] && NegQ[a/b]

Rubi steps

\begin {align*} \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx &=2 \operatorname {Subst}\left (\int \frac {1}{-a+c x^2} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right )\\ &=-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{\sqrt {a} \sqrt {c}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 42, normalized size = 1.00 \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{\sqrt {a} \sqrt {c}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(x*Sqrt[a + b*x]*Sqrt[c + d*x]),x]

[Out]

(-2*ArcTanh[(Sqrt[c]*Sqrt[a + b*x])/(Sqrt[a]*Sqrt[c + d*x])])/(Sqrt[a]*Sqrt[c])

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.09, size = 42, normalized size = 1.00 \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {c+d x}}{\sqrt {c} \sqrt {a+b x}}\right )}{\sqrt {a} \sqrt {c}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[1/(x*Sqrt[a + b*x]*Sqrt[c + d*x]),x]

[Out]

(-2*ArcTanh[(Sqrt[a]*Sqrt[c + d*x])/(Sqrt[c]*Sqrt[a + b*x])])/(Sqrt[a]*Sqrt[c])

________________________________________________________________________________________

fricas [B]  time = 1.39, size = 187, normalized size = 4.45 \begin {gather*} \left [\frac {\sqrt {a c} \log \left (\frac {8 \, a^{2} c^{2} + {\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} x^{2} - 4 \, {\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {a c} \sqrt {b x + a} \sqrt {d x + c} + 8 \, {\left (a b c^{2} + a^{2} c d\right )} x}{x^{2}}\right )}{2 \, a c}, \frac {\sqrt {-a c} \arctan \left (\frac {{\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {-a c} \sqrt {b x + a} \sqrt {d x + c}}{2 \, {\left (a b c d x^{2} + a^{2} c^{2} + {\left (a b c^{2} + a^{2} c d\right )} x\right )}}\right )}{a c}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(b*x+a)^(1/2)/(d*x+c)^(1/2),x, algorithm="fricas")

[Out]

[1/2*sqrt(a*c)*log((8*a^2*c^2 + (b^2*c^2 + 6*a*b*c*d + a^2*d^2)*x^2 - 4*(2*a*c + (b*c + a*d)*x)*sqrt(a*c)*sqrt
(b*x + a)*sqrt(d*x + c) + 8*(a*b*c^2 + a^2*c*d)*x)/x^2)/(a*c), sqrt(-a*c)*arctan(1/2*(2*a*c + (b*c + a*d)*x)*s
qrt(-a*c)*sqrt(b*x + a)*sqrt(d*x + c)/(a*b*c*d*x^2 + a^2*c^2 + (a*b*c^2 + a^2*c*d)*x))/(a*c)]

________________________________________________________________________________________

giac [B]  time = 1.03, size = 85, normalized size = 2.02 \begin {gather*} -\frac {2 \, \sqrt {b d} b \arctan \left (-\frac {b^{2} c + a b d - {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2}}{2 \, \sqrt {-a b c d} b}\right )}{\sqrt {-a b c d} {\left | b \right |}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(b*x+a)^(1/2)/(d*x+c)^(1/2),x, algorithm="giac")

[Out]

-2*sqrt(b*d)*b*arctan(-1/2*(b^2*c + a*b*d - (sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^2)
/(sqrt(-a*b*c*d)*b))/(sqrt(-a*b*c*d)*abs(b))

________________________________________________________________________________________

maple [B]  time = 0.02, size = 73, normalized size = 1.74 \begin {gather*} -\frac {\sqrt {d x +c}\, \sqrt {b x +a}\, \ln \left (\frac {a d x +b c x +2 a c +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}}{x}\right )}{\sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x/(b*x+a)^(1/2)/(d*x+c)^(1/2),x)

[Out]

-ln((a*d*x+b*c*x+2*a*c+2*(a*c)^(1/2)*((b*x+a)*(d*x+c))^(1/2))/x)*(d*x+c)^(1/2)*(b*x+a)^(1/2)/(a*c)^(1/2)/((b*x
+a)*(d*x+c))^(1/2)

________________________________________________________________________________________

maxima [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(b*x+a)^(1/2)/(d*x+c)^(1/2),x, algorithm="maxima")

[Out]

Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(a*d-b*c>0)', see `assume?` for
 more details)Is a*d-b*c zero or nonzero?

________________________________________________________________________________________

mupad [B]  time = 2.69, size = 121, normalized size = 2.88 \begin {gather*} \frac {\ln \left (\frac {\left (\sqrt {c}\,\sqrt {a+b\,x}-\sqrt {a}\,\sqrt {c+d\,x}\right )\,\left (b\,\sqrt {c}-\frac {\sqrt {a}\,d\,\left (\sqrt {a+b\,x}-\sqrt {a}\right )}{\sqrt {c+d\,x}-\sqrt {c}}\right )}{\sqrt {c+d\,x}-\sqrt {c}}\right )-\ln \left (\frac {\sqrt {a+b\,x}-\sqrt {a}}{\sqrt {c+d\,x}-\sqrt {c}}\right )}{\sqrt {a}\,\sqrt {c}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x*(a + b*x)^(1/2)*(c + d*x)^(1/2)),x)

[Out]

(log(((c^(1/2)*(a + b*x)^(1/2) - a^(1/2)*(c + d*x)^(1/2))*(b*c^(1/2) - (a^(1/2)*d*((a + b*x)^(1/2) - a^(1/2)))
/((c + d*x)^(1/2) - c^(1/2))))/((c + d*x)^(1/2) - c^(1/2))) - log(((a + b*x)^(1/2) - a^(1/2))/((c + d*x)^(1/2)
 - c^(1/2))))/(a^(1/2)*c^(1/2))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x \sqrt {a + b x} \sqrt {c + d x}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x/(b*x+a)**(1/2)/(d*x+c)**(1/2),x)

[Out]

Integral(1/(x*sqrt(a + b*x)*sqrt(c + d*x)), x)

________________________________________________________________________________________